package org.springblade.modules.admin.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import liquibase.pro.packaged.A;
import lombok.Data;
import org.springblade.core.mp.support.Query;

import java.util.Date;

/**
 * 用户通知列表分页查询DTO
 * @author: Sharry
 * @createTime: 2024-04-02 14:46
 * @version: Version-1.0
 */
@Data
public class UserNoticeListDTO {

	@ApiModelProperty(value = "分页参数", required = true)
	private Query query;

	@ApiModelProperty(value = "通知标题", required = false)
	private String title;

	@ApiModelProperty(value = "通知类型", required = false)
	private Integer noticeType;

	@ApiModelProperty(value = "开始时间", required = false)
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date beginTime;

	@ApiModelProperty(value = "结束时间", required = false)
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date endTime;

}
